/*
 *  为了减少全局变量和extern的使用,系统内部还是需要一个共通的桥梁
 */
#ifndef _SYS_INNER_H_
#define _SYS_INNER_H_

#include <stdint.h>

#include "plat_display.h"
#include "plat_input.h"
#include "plat_storage.h"
#include "plat_sys.h"

class SysInner
{
public:
    PlatDisplay *platDisplay = NULL;
    PlatInput *platInput = NULL;
    PlatSys *platSys = NULL;
    PlatStorage *platStorage = NULL;

    SysInner();
    ~SysInner();

    int32_t SysFlowDraw();

private:
    int32_t SysPlatInit();
    int32_t SysPlatDeInit();

    int32_t SysHeartInit();
    int32_t SysHeartDeInit();

    int32_t SysFlowInit();
    int32_t SysFlowDeInit();
};

#endif // _SYS_INNER_H_
